import React from 'react';
import { connect } from 'dva';
import WorkPage from '@/modules/WorkModule/WorkPage';
import { SecurityManColumn } from '@/public/constant/enums';
const List: any = function ({ total, list,selectlist, dispatch }) {
  return (<WorkPage
    nameSpace={'security_man'}
    roleId={15}
    moduleType={selectlist}
    title={'保管工作文件列表'}
    total={total}
    list={list}
    dispatch={dispatch} />);
};
export default connect((state: any) => {
  return {
    list: state.security_man.list,
    total: state.security_man.total,
    selectlist: state.security_man.selectlist,
  };
})(List);
